package com.hualan.mapper;

import com.hualan.pojo.ExpertiseField;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.List;


/**
* @author 洪多鑫
* @description 针对表【expertise_field】的数据库操作Mapper
* @createDate 2025-04-27 21:19:14
* @Entity com.hualan.pojo.ExpertiseField
*/
@Mapper
public interface ExpertiseFieldMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ExpertiseField record);

    int insertSelective(ExpertiseField record);

    ExpertiseField selectByPrimaryKey(Long id);

    int updateById(@Param("id") Long id, @Param("fieldName") String fieldName);

    int updateByPrimaryKey(ExpertiseField record);

    List<ExpertiseField> selectByFieldName(String fieldName);

    int deleteBatch(List<Integer> ids);
    List<ExpertiseField> findAll();
}
